<div class="{$class_row|default='mb-3'}">
  <label class="{$class_label|default='form-label'}" for="{$name}">{$title}</label>
  {if $class_col}<div class="{$class_col}">{/if}
  <select {if $readonly}readonly{/if} {if $disabled} disabled{/if} {if $required} required{/if} {if $autofocus} autofocus{/if} {if $multiple} multiple{/if} class="{$class_input|default='form-select form-select-sm'}" id="{:dcEmpty($id,$name)}" name="{$name}" data-toggle="select" size="{$size|default=1}">
    {foreach $option as $selectKey=>$select}
    {in name="selectKey" value="$value"}
      <option value="{$selectKey}" selected>{$select}</option>
    {else/}
      <option value="{$selectKey}">{$select}</option>
    {/in}
    {/foreach}
  </select>
  {if $class_col}</div>{/if}
  {if $tips}<div class="{$class_tips|default='form-text'}">{$tips}</div>{/if}
</div>